﻿<link href="@Url.Content("~/content/activitie_detail.css")" rel="stylesheet" type="text/css"/>
<link href="@Url.Content("~/content/table_btn.css")" rel="stylesheet" type="text/css"/>

<!--[if lt IE 8]>
    <link href="@Url.Content("~/content/activitie_create.css")" rel="stylesheet" type="text/css"/>
<![endif]-->

<noscript>
    <link href="@Url.Content("~/content/activitie_create.css")" rel="stylesheet" type="text/css"/>
    <link href="@Url.Content("~/content/activitie_noscript.css")" rel="stylesheet" type="text/css"/>
</noscript>

@model PessMvc.Models.CountyAdminModel

@{
    ViewBag.Title = "CountyAdminRegister";
}

<h2>创建区县管理员</h2>
<div id="operate">
    @Html.ActionLink("返回区县管理员列表", "CountyAdmins","Account",null)
</div>

@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <fieldset class="create">
        <legend></legend>

        <div class="editor-label">
            @*@Html.LabelFor(model => model.UserName)*@用户名：
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.UserName)
            @Html.ValidationMessageFor(model => model.UserName)
        </div>

        <div class="editor-label">
            @*@Html.LabelFor(model => model.Email)*@电子邮件：
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Email)
            @Html.ValidationMessageFor(model => model.Email)
        </div>

        <div class="editor-label">
            @*@Html.LabelFor(model => model.Password)*@密码：
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Password)
            @Html.ValidationMessageFor(model => model.Password)
        </div>

        <div class="editor-label">
            @*@Html.LabelFor(model => model.CountyCode)*@区县：
        </div>
        <div class="editor-field">
            @Html.DropDownList("CountyCode",(SelectList)ViewData["Counties"])
        </div>

        <div class="editor-btn">
            <input type="submit" value="创建" />
        </div>
    </fieldset>
}

